package com.neolix.watch.http;


public class HttpResponseResult {
    private ResponseResultType resultType;
    private Exception responseException;
    private String responseResult;

    public ResponseResultType getResultType() {
        return resultType;
    }

    public String getResponseResult() {
        return responseResult;
    }

    public HttpResponseResult(ResponseResultType resultType, String responseResult) {
        this(resultType, responseResult, null);
    }

    public HttpResponseResult(ResponseResultType resultType, String responseResult, Exception responseException) {
        this.resultType = resultType;
        this.responseException = responseException;
        this.responseResult = responseResult;
    }

    public enum ResponseResultType {
        SUCCEEDED,
        FAILED
    }
}